package cn.yunhe.service;

import cn.yunhe.model.User;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * Created by zs on 2017/10/30.
 */
public interface IUserService {

    Integer selectByNameAndPwd(User user);

    List<User> selectAll();

    Page queryLikeUsers(Map<String, Object> cond);

    int addUser(User user);

    int delUser(User user);

    User getUser(User user);

}
